/**
  * Validate and save changes to user's publicProfile info.
  * @param $args array
  * @param $request PKPRequest
  * @return JSONMessage JSON-formatted response
  */
 function savePublicProfile($args, $request)
 {
     $this->setupTemplate($request);
     import('lib.pkp.classes.user.form.PublicProfileForm');
     $publicProfileForm = new PublicProfileForm($request->getUser());
     $publicProfileForm->readInputData();
     if ($publicProfileForm->validate()) {
         $publicProfileForm->execute($request);
         return new JSONMessage(true);
     }
     return new JSONMessage(true, $publicProfileForm->fetch($request));
 }