title: Symfony2.1: Unable to find the controller for path "/login_check"
body: <p>I used the <a href="http://symfony.com/doc/current/book/security.html#using-a-traditional-login-form">"Using a traditional login form"</a> tutorial from symfony.com to authentificate my users. With a simple http auth it works great.</p>
  
  <p>After the login was submitted I get this Exception: </p>
  
  <blockquote>
    <p>Unable to find the controller for path "/login_check". Maybe you
    forgot to add the matching route in your routing configuration?</p>
  </blockquote>
  
  <p>Well, in the tutorial I read:</p>
  
  <blockquote>
    <p>You will not need to implement a controller for the /login_check URL as the firewall will automatically catch and process any form submitted to this URL.</p>
  </blockquote>
  
  <p>I defined the routes and set the firewall settings:</p>
  
  <p><strong>security.yml</strong></p>
  
  <pre><code>firewalls:
      dev:
          pattern:  ^/(_(profiler|wdt)|css|images|js)/
          security: false
      backend:
          pattern:    ^/backend
          anonymous: ~
          form_login:
              provider: entity
              login_path: /login
              check_path: /login_check
              #use_forward: true
          logout:
              path:   /logout
              target: /
  </code></pre>
  
  <p><strong>routing.yml</strong></p>
  
  <pre><code>login:
      pattern:   /login
      defaults:  { _controller: VitaSecurityBundle:Default:login }
  login_check:
      pattern:   /login_check
  logout:
      pattern:   /logout
  </code></pre>