Fix sign in and sign up process