flag = exists?(provider, current_gamer.id)
instead of
authentication = Authentication.find_by_provider_and_gamer_id(auth["provider"], current_gamer.id)
if authentication.nil