refactoring omniauth_to_user