title: i get error when i logout from the laravel auth
body: <p>i get error when i logout in laravel. because there is no id.
  error show this code.</p>
  <pre><code>&lt;a href=&quot;/user/{{Auth::user()-&gt;id}}&quot;&gt;Profilim&lt;/a&gt;
  </code></pre>
  <p><em><strong>here is error</strong></em></p>
  <p><em><strong>Trying to get property 'id' of non-object (View: C:\xampp\htdocs\mit\resources\views\welcome.blade.php)</strong></em></p>
  <p><em><strong>i know it give this error because when i logout &quot;User()-&gt;id&quot;, has no value and it give me error</strong></em></p>
  <p><em><strong>how can i solve it?</strong></em></p>