title: show pop up only first time user login (Laravel)
body: <p>I have a simple question about a project I working on it
  I need to show a Modal Popup once <strong><em>when the user login in first time no more only once!!!</em></strong>
  I create this code but it still not working </p>
  
  <p><strong>test.blade.php</strong> </p>
  
  <pre><code>@if ($first_time_login)
     &lt;h3&gt;Welcome Popup&lt;/h3&gt;
  @else 
    &lt;h3&gt;Hey!  Nothing to Show&lt;/h3&gt;
  @endif
  </code></pre>
  
  <p><strong>TestController</strong></p>
  
  <pre><code>public function Test()
  {
  
      if (Auth::user()-&gt;first_time_login) {
          $first_time_login = true;
          Auth::user()-&gt;first_time_login = 1;
          Auth::user()-&gt;save();
      } else {
          $first_time_login = false;
      }
  
      return view(
          'test', 
          ['first_time_login' =&gt; $first_time_login]
      ); 
  }
  </code></pre>
  
  <p><strong>2014_10_12_000000_create_users_table.php</strong></p>
  
  <pre><code>    Schema::create('users', function (Blueprint $table) {
          $table-&gt;bigIncrements('id');
          $table-&gt;string('name')-&gt;nullable();
          $table-&gt;string('email')-&gt;unique()-&gt;nullable();
          $table-&gt;timestamp('email_verified_at')-&gt;nullable();
          $table-&gt;string('password')-&gt;nullable();
          $table-&gt;rememberToken()-&gt;nullable();
          $table-&gt;timestamps();
          $table-&gt;string('first_time_login')-&gt;default(false);
      });
  </code></pre>