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