title: Laravel web middleware group shows pages when user not logged in
body: <p>I'm in the process of upgrading our web app from laravel 4.2 to laravel 5.2. I've managed to solve most of the problems but this particular problem is leading me in loops.</p>
  
  <p>This is how the route group for admin dashboard looks like:</p>
  
  <pre><code>Route::group(['middleware' =&gt; 'web','prefix' =&gt; 'adm'], function ()
  {
        Route::get('login', ['as' =&gt; 'admin.login.view', 'uses' =&gt; 'AdminLoginController@loginView']);
        Route::post('login', ['as' =&gt; 'admin.login.attempt', 'uses' =&gt; 'AdminLoginController@attempt']);
        Route::get('logout', ['as' =&gt; 'admin.logout', 'uses' =&gt; 'AdminLoginController@logout']);
  
   ...other routes pertaining to admin dashboard
  }
  </code></pre>
  
  <p>The login functions and all functions within the admin panel work as expected. The only problem is when the user logs out, any one can access the remaining routes in the admin panel (no login required). I have placed Auth::check() and checked for auth in various controllers, the login and logout work as expected. </p>
  
  <p>Auth::check() fails if user is not logged in and passes if user has logged in.
  How do I make sure all the routes within this group are accessible only to logged in users. I have tried creating another middleware called authAdmin and tried to use that instead of the web middleware. In that case I can't even login.</p>