corrected the sign up business logic bug