title: Load user settings with Laravel 5.6
body: <p>I'd like to be able to modify the Auth->user() data that Laravel 5.6 uses.  I have table called settings with a column called <code>user_id</code> in it that corresponds to a user id. </p>
  
  <p>I tried modifying <code>app\User.php</code> and adding a <code>__construct</code> function:</p>
  
  <pre><code>   public function __construct() {
  
          $this-&gt;settings = Settings::where('user_id',
                  Auth-&gt;user-&gt;id()
                  )-&gt;first();
      }
  </code></pre>
  
  <p>And I created a file <code>app\Settings.php</code> with the following:</p>
  
  <pre><code>&lt;?php
  
  namespace App;
  
  use Illuminate\Database\Eloquent\Model;
  
  class settings extends Model
  {
      protected $table = "settings";
  
  }
  </code></pre>
  
  <p>However I'm getting a user error on the <code>Auth-&gt;user()-&gt;id</code> line in <code>User.php</code>, although I'm sure thats the correct way to reference it?</p>
  
  <p>How can I load the data from the <code>settings</code> table to the User class?</p>