title: Class App\Http\Controllers\AdminController does not exist
body: <p>i have this error when user return from login to home page i can't understand what is it i am doing MultiAuth in laravel 5 and also help me if i can use login function and other registration function that is already available for users table i have no idea how to do that with already written functions</p>
  
  <p>this is my login function</p>
  
  <pre><code>public function login()
      {
          $data = Input::all();
  
          // Applying validation rules.
          $rules = array(
              'email' =&gt; 'required|email',
              'password' =&gt; 'required|min:6',
          );
  
          $validator = Validator::make($data, $rules);
  
          if ($validator-&gt;fails()){
              // If validation falis redirect back to login.
              return Redirect::to('admin/login')-&gt;withInput(Input::except('password'))-&gt;withErrors($validator);
          }
          else {
              $userdata = array(
                  'email' =&gt; Input::get('email'),
                  'password' =&gt; Input::get('password')
              );
          }
  
          // doing login.
          if (Auth::validate($userdata)) {
              if (Auth::attempt($userdata)) {
                  return Redirect::intended('admin');
              }
          }
          else {
              // if any error send back with message.
              Session::flash('error', 'Something went wrong');
              return Redirect::to('admin/login');
          }
      }
  </code></pre>
  
  <p>this is my AdminController</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers\Admin;
  
  use Illuminate\Http\Request;
  
  use App\Http\Requests;
  use App\Http\Controllers\Controller;
  
  class AdminController extends Controller
  {
  //    public function __construct(){
  //
  //        $this-&gt;middleware('admins');
  //    }
      public function index(){
  //        $user = Auth::user();
  //        dd($user);
          return view('admin.home');
      }
  }
  </code></pre>