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