json.extract! @user, :id, :email, :group