Refactor #add_provider_to_user