fixed somewhat a oauth login with google account