json.extract! @user, :id, :created_at, :updated_at