revised middleware to use OmniAuth::Builder from omniauth-google-oauth2