public function logoutAction()
 {
     \TBS\Auth::getInstance()->clearIdentity();
     $this->_redirect('/');
 }
 public function logoutAction()
 {
     \TBS\Auth::getInstance()->clearIdentity();
     $auth = Zend_Auth::getInstance()->clearIdentity();
     $namespace = new Zend_Session_Namespace('someaction');
     Zend_Session::destroy();
     //setcookie('userid', null, -1, '/');
     $this->_redirect('index');
 }