public function isLoggedIn() { return $this->getCookies() != null && $this->getLoggedInUser() != null; }