title: Target class [App\Http\Controllers\LoginController] does not exist
body: <p>Laravel 6.x.
  I'm creating custom multi-authentication Panels(Staff,Student,Admin) from Single Login Page.<em>Error already mentioned in the title.</em> also without using <strong>php artisan ui bootstrap --auth</strong>. 
  <em>Web.php file</em>.</p>
  
  <pre><code>Route::get('/index/sign-in', function () {
      return view('log-in');
  });
  Route::get('/index/admin', function () {
      return view('admin-dashboard');
  });
  Route::get('/index/student', function () {
      return view('student-dashboard');
  });
  Route::get('/index/staff', function () {
      return view('faculty-dashboard');
  });
  Route::middleware('auth')-&gt;group(function () {
      Route::post('/index/dashboard/','LoginController@postlogin')-&gt;name('postlogin');
      Route::post('/index/logout','LoginController@postlogout')-&gt;name('postlogout');
  });
  </code></pre>
  
  <p><em>LoginController.php</em> file</p>
  
  <pre><code>    public function postlogout()
      {
          auth()-&gt;logout();
          //session()-&gt;flash('message', 'Some goodbye message');
          return redirect('/index/sign-in/');
      }
      public function postlogin()
      {
          $role=(Auth::user())-&gt;user_role;
          if ($role=='admin'){
              return 'index/admin';
          }
          elseif ($role=='staff'){
              return 'index/staff';
          }
          elseif ($role=='student'){
              return 'index/student';
          }else
          return 'index/sign-in';
      }
  }
  </code></pre>