title: Class 'App\Http\Controllers\admin\Auth' not found in Laravel 5
body: <p>I am getting error like Class <code>App\Http\Controllers\admin\Auth</code> not found in Laravel 5 during login.</p>
  <p><strong>Routes.php</strong></p>
  <pre><code>Route::group(array('prefix'=&gt;'admin'),function(){
      Route::get('login', 'admin\AdminHomeController@showLogin');
      Route::post('check','admin\AdminHomeController@checkLogin');    
  });
  </code></pre>
  <p><strong>AdminHomeController.php</strong></p>
  <pre><code>&lt;?php namespace App\Http\Controllers\admin;
  
  use App\Http\Requests;
  use App\Http\Controllers\Controller;
  
  use Illuminate\Http\Request;
  
  class AdminHomeController extends Controller {
  
      //
      
      public function showLogin()
      {
          return view('admin.login');
      }
      
      public function checkLogin(Request $request)
      {
          $data=array(
              'username'=&gt;$request-&gt;get('username'),
              'password'=&gt;$request-&gt;get('password')
          );
  
          if(Auth::attempt($data))
          {
              return redirect::intended('admin/dashboard');
          }
          else
          {
              return redirect('admin/login');
          }
          
      }
      
      public function logout()
      {
          Auth::logout();
          return redirect('admin/login');
      }
      public function showDashboard()
      {
          return view('admin.dashboard');
      }
  }
  </code></pre>
  <p><strong>login.blade.php</strong></p>
  <pre><code>&lt;html&gt;
  &lt;body&gt;
   {!! Form::open(array('url' =&gt; 'admin/check', 'id' =&gt; 'login')) !!}
          
                  &lt;input type=&quot;text&quot; name=&quot;username&quot; id=&quot;username&quot; placeholder=&quot;Enter any username&quot; /&gt;
                  &lt;input type=&quot;password&quot; name=&quot;password&quot; id=&quot;password&quot; placeholder=&quot;Enter any password&quot; /&gt;
                  &lt;button name=&quot;submit&quot;&gt;Sign In&lt;/button&gt;
              
          {!! Form::close() !!}
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>