added validation to the gym affiliation registration process