Modifed omniauth callbacks controller and user model and resolved errors to successfully login with facebook