fix bug: if sign up success, straight to sign in successful