In this article, you will get to prevent showing the login page after the User logged and hits the browser back button.
There are other tricks too but in my case, this code works properly. Hope this will work fine for you
Route::get('/', ['middleware' => 'guest', function () { return view('languages'); }]);