title: how to remove sessions in Laravel 5
body: <p>I am trying to remove a basic session but it's not removing. Here's the code</p>
  
  <p><em>welcome.blade.php</em></p>
  
  <pre><code>@if(Session::has('key'))             
      {{ Session::get('key')}}
      &lt;a href="logout"&gt;Sign Out&lt;/a&gt;
  
      @else
          please signin
  
      @endif
  &lt;/div&gt;
  </code></pre>
  
  <p>I don't know how to remove session. Here's the one I used but it's not working <code>route.php</code></p>
  
  <pre><code>Route::get('/logout', function() {
  
     $vv =  Session::forget('key');
     if($vv)
     {
          return "signout";
     }
  });
  </code></pre>