public function GetUser() { if ($this->PluginExists('Authentication') && $this->IsAuthenticated()) { return \app\Authentication\model\UserModel::GetLoggedInUser(); } return false; }
public function Logout() { model\UserModel::Logout(); return $this->Login(); }