public function getUser() { require_once WEBAPPROOT . 'security/UserSession.php'; $session = new UserSession(); $session->start(); return $session->getUser(); }