The former social club has been used to house homeless people without planning permission