Little cleanup of omniauth controller.

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