/**
  *
  */
 public function loginAction()
 {
     $request = $this->getRequest();
     $result = array();
     if ($request->isPost()) {
         $userApi = Utility::userApi($this->params()->fromQuery('userName'), $this->params()->fromQuery('apiKey'));
         $this->userId = $userApi->getId();
         $customerLogin = $this->params()->fromPost();
         $result = Utility::checkCustomer($customerLogin);
         if ($result) {
             echo $result->getId();
         } else {
             echo 0;
         }
         die;
     }
     die('Die Hacked');
 }