/**
  * @return IAuthModel
  */
 function getCurrentUser()
 {
     $this->initialize();
     if (!$this->isLoggedIn()) {
         return null;
     }
     return $this->session->getValue(self::USER);
 }