title: Defined controller does not exist in Laravel 5
body: <p>I defined a controller LoginController but I am having this error?</p>
  
  <p>ReflectionException in Route.php line 264: Class App\Http\Controllers\LoginController does not exist</p>
  
  <pre><code>class LoginController extends Controller {
  
    // Display the login form
    public function showLogin()
    {
      return View::make('login');
    }
  
    // Process submission of the login form by verifying user’s credentials
    public function processLogin()
    {
      $username = Input::get('username');
      $password = Input::get('password');
      if ($username === 'prince' &amp;&amp; $password === 'c@spiAN') {
        return 'Access granted!';
      } else {
        return 'Access denied! Wrong username or password.';
      }
    }
  }
  </code></pre>