setStorage(new Zend_Auth_Storage_Session('userAuth')); if (!$this->hasIdentity()) { $this->getStorage()->write(array('user_level_id'=>0)); } } }