title: Need to display user details after login in blade.php
body: <pre><code>public function index(){
        $user =  DB::table("users")-&gt;where("id", 1)-&gt;get();
        return view('home',['user'=&gt;$user]);
     }
  </code></pre>
  
  <p>Here the "id=1" has to be changed and should display the current logged in user details.</p>