public function editAction()
 {
     if (Mage::getBlockSingleton('hostedregistration/hostedregistration')->enableHostedPage() == '1') {
         $this->_redirectUrl($this->dataObject->getProfileUrl());
     } else {
         parent::editAction();
     }
 }