get('logged_in')) { return redirect()->to('/login'); } return view('dashboard'); } }