public function logout() { LoginModel::logout(); Redirect::home(); exit; }
function perform() { $login = new LoginController(); $login->logout(); header('Location: index.php'); exit; }