Fixed if statement in users_controller