changed the sign up logic