Resolve login and sign up with userRecord