/**
  * @see sfTask
  */
 protected function execute($arguments = array(), $options = array())
 {
     require_once dirname(__FILE__) . '/../../../config/ProjectConfiguration.class.php';
     $configuration = ProjectConfiguration::getApplicationConfiguration('public', 'prod', true);
     sfContext::createInstance($configuration);
     $email = $arguments['email_address'];
     $password = $arguments['password'];
     $newUser = PcUserPeer::registerNewUser($email, $password, 'en', 'en', '+01:00,1', 0, false, false);
     if ($newUser) {
         $newUser->setAwaitingActivation(0)->save();
         $supporter = new PcSupporter();
         $supporter->setUserId($newUser->getId())->setExpiryDate(2100000000)->save();
         $this->log("The user has been created successfully in the pc_user table. \n You may need to set up the correct timezone in the account settings.");
         $this->log("The new user can reset their password following the link 'forgotten password' on the Login page.");
     } else {
         $this->log("An error occurred - probably the user already exists.");
     }
 }