title: Class 'App\users' not found in Laravel when i create users.blade.php
body: <p>I am getting the following error:</p>
  
  <blockquote>
    <p>FatalErrorException in usercontroller.php line 21: Class 'APP\User' not found</p>
  </blockquote>
  
  <p><strong>usercontroller.php:</strong></p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  use APP\User;
  use Illuminate\Http\Request;
  use App\Http\Requests;
  
  
  class usercontroller extends Controller
  {
      /**
       * Display a listing of the resource.
       *
       * @return \Illuminate\Http\Response
       */
      public function index()
      {
          $user = User::all();
          return view('admin/users', compct('user'));
      }
  
      /**
       * Show the form for creating a new resource.
       *
       * @return \Illuminate\Http\Response
       */
      public function create()
      {
          //
      }
  
      /**
       * Store a newly created resource in storage.
       *
       * @param  \Illuminate\Http\Request  $request
       * @return \Illuminate\Http\Response
       */
      public function store(Request $request)
      {
          //
      }
  
      /**
       * Display the specified resource.
       *
       * @param  int  $id
       * @return \Illuminate\Http\Response
       */
      public function show($id)
      {
          //
      }
  
      /**
       * Show the form for editing the specified resource.
       *
       * @param  int  $id
       * @return \Illuminate\Http\Response
       */
      public function edit($id)
      {
          //
      }
  
      /**
       * Update the specified resource in storage.
       *
       * @param  \Illuminate\Http\Request  $request
       * @param  int  $id
       * @return \Illuminate\Http\Response
       */
      public function update(Request $request, $id)
      {
          //
      }
  
      /**
       * Remove the specified resource from storage.
       *
       * @param  int  $id
       * @return \Illuminate\Http\Response
       */
      public function destroy($id)
      {
          //
      }
  }
  </code></pre>
  
  <p><strong>User.php (it's in App/User.php):</strong></p>
  
  <pre><code>&lt;?php
  
  namespace App;
  use Illuminate\Foundation\Auth\User as Authenticatable;
  
  class User extends Authenticatable
  {
      /**
       * The attributes that are mass assignable.
       *
       * @var array
       */
      protected $fillable = [
          'name', 'email', 'password',
      ];
  
      /**
       * The attributes that should be hidden for arrays.
       *
       * @var array
       */
      protected $hidden = [
          'password', 'remember_token',
      ];
  }
  </code></pre>
  
  <p>I create to <strong>users.blade.php</strong> to listing user in Admin Panel but at last then i m click to a user then they have an error on screen please say what can i do  </p>