json.extract! @user, :login, :email, :lastname, :firstname, :created_at,
              :updated_at