fetch(); } public function logout() { session('admin', null); cookie('admin', null); return $this->redirect('/'); } }