function changePasswordAction()
 {
     $this->_helper->layout->setLayout('layout-hukumonlineid-ps');
     $auth = Zend_Auth::getInstance();
     if (!$auth->hasIdentity()) {
         $this->_forward('restricted', 'error', 'identity', array('type' => 'identity', 'num' => 101));
     } else {
         $guid = $auth->getIdentity()->guid;
         $tblUser = new Pandamp_Modules_Identity_User_Model_User();
         $rowUser = $tblUser->find($guid)->current();
         $this->view->row = $rowUser;
         $g = $this->getRequest();
         if ($g->isPost()) {
             $aData = $g->getParams();
             $hol = new Pandamp_Core_Hol_User();
             if ($hol->changePassword($guid, $g->getParam('opasswd'), $g->getParam('newpasswd'))) {
                 $this->view->message = "Password was sucessfully changed.";
             } else {
                 $this->view->message = "Old password was wrong. Please retry with correct password.";
             }
         }
     }
 }