/**
  * Logs a user out
  */
 public function logout()
 {
     //        $this->_session->destroy();
     $this->_session->remove('id');
     $this->_session->remove('admin');
 }