You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: users_controller.rb
    path of file: ./repos/openstreetmap-website/app/controllers
    
    the code of the file until where you have to start completion: class UsersController < ApplicationController
  include EmailMethods
  include SessionMethods
  include UserMethods

  layout "site"

  skip_before_action :verify
    
  def auth_success
    auth_info = request.env["omniauth.auth"]

    provider = auth_info[:provider]
    uid = auth_info[:uid]
    name = auth_info[:info][:name]
    email = auth_info[:info][:email]

    email_verified = case provider
                     when "openid"
                       uid.match(%r{https://www.google.com/accounts/o8/id?(.*)}) ||
                       uid.match(%r{https://me.yahoo.com/(.*)})
                     when "google", "facebook", "microsoft", "github", "wikipedia"
                       true
                     else
                       false
                     end