/**
  * user logout
  *
  * destroys the session
  */
 public function logout()
 {
     $this->setRememberCookie("", time() - 42000);
     $this->session->destroy();
     $this->user = null;
 }