housing society legal compliance