public function execute($request)
 {
     $usrObj = $this->getUser()->getAttribute('user');
     if (!$usrObj->isAdmin()) {
         $this->redirect('pim/viewPersonalDetails');
     }
     $this->setForm(new OrganizationGeneralInformationForm());
     $employeeService = new EmployeeService();
     $this->employeeCount = $employeeService->getEmployeeCount();
     if ($this->getUser()->hasFlash('templateMessage')) {
         list($this->messageType, $this->message) = $this->getUser()->getFlash('templateMessage');
     }
     if ($request->isMethod('post')) {
         $this->form->bind($request->getParameter($this->form->getName()));
         if ($this->form->isValid()) {
             $result = $this->form->save();
             $name = $this->form->getValue('name');
             $organizationName = !empty($name) ? $name : __("Organization");
             $companyStructureService = new CompanyStructureService();
             $companyStructureService->setOrganizationName($organizationName);
             list($this->messageType, $this->message) = array('success', __(TopLevelMessages::SAVE_SUCCESS));
         }
     }
 }