Barrio Logan gym had not obtained proper permits prior to collapse