Little cleanup of omniauth controller.

- Move model related code to User model
- redirect back to login page if unable to fetch omniauth data.