def facebook
    @user = User.find_or_create_from_facebook_omniauth(auth_hash)

    if @user.persisted?
      sign_in_and_redirect @user, :event => :authentication #this will throw if @user is not activated