created config/initializers/omniauth.rb and put code in it