private function signOut() { if (User::signOut()) { Response::redirect('/login'); } return true; }
public function init() { if (!User::$signed) { Response::redirect('/login'); } return true; }