public function __construct()
 {
     parent::__construct();
     if (Session::user_exist()) {
         $this->admin = new User_Model();
         $this->signatory_model = new Signatory_Model();
         $this->signatoriallist_model = new SignatorialList_Model();
         $this->template = new Template();
         $this->template->setPageName('Settings');
         $this->template->set_username(Session::get_user());
         $this->template->set_surname(Session::get_Surname());
         $this->template->set_firstname(Session::get_Firstname());
         $this->template->set_middlename(Session::get_Middlename());
         $this->template->assign('email_add', Session::get_emailAdd());
         $this->template->set_account_type(Session::get_Account_type());
         $this->template->set_photo(Session::get_photo());
         $this->template->assign('user_type', Session::get_Account_type());
         if (Session::get_Account_type() == "Signatory") {
             $this->template->set_account_type(Session::get_Account_type() . " in Charge");
             $this->template->assign('assign_sign', ", " . Session::get_AssignSignatory());
             $ug_listOfsignatory = $this->signatory_model->getListofSignatoryName();
             $g_listOfsignatory = $this->signatory_model->getListofSignatoryName();
             //$listOfKeysFromSignatories = $this->signatoriallist_model->getKeyListofSignatory();
             $this->template->assign('ug_signatories', $ug_listOfsignatory);
             $this->template->assign('g_signatories', $g_listOfsignatory);
             $this->template->assign('current_assignSign', Session::get_AssignSignatory());
             //$this->template->assign('sign_status', Session::get_signatory_usability());
         } else {
             if (Session::get_Account_type() == "Student") {
                 $this->student_model = new Student_Model();
                 $this->student_model->queryStudent_Info(Session::get_user());
                 $stud_deptName = $this->student_model->getStud_DeptName();
                 $stud_course = $this->student_model->getStud_Course();
                 $this->template->set_account_type($stud_course);
                 $this->template->assign('assign_sign', ", " . $stud_deptName);
             } else {
                 $this->template->assign('assign_sign', '');
             }
         }
         $this->template->setContent('settings.tpl');
     } else {
         header('Location: ' . HOST);
         exit;
     }
 }