added an "else if" for the rules of being the only person in the gym or not