installed oauth2 gem and made configuration edits to application.rb, as well as minor corrections to some controllers.