1. Redirect to previous url after login/logout
2. move omniauth settings from config/initializers/devise.rb to config/initializers/omniauth.rb