title: Class 'App\Http\Controllers\User' not found
body: <p>I'm a beginner at laravel and have been facing this error</p>
  
  <p>Here's My Controller:-</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  
  use Illuminate\Http\Request;
  
  class ProfilesController extends Controller
  {
      public function index()
      {
        $user = User:: findOrFail($user);
        return view('confession')-&gt;with('user',$user);
  
      }
  }
  </code></pre>
  
  <p><strong>Please Help And Thanks</strong></p>