title: Block login page for logged in users on Symfony3
body: <p>I made a registration/login form example on Symfony3.</p>
  
  <p>After user logged in still can access <code>login.html.twig</code> </p>
  
  <p>How can i control this on <code>security.yml</code> or redirect on <code>login.html.twig</code>?</p>
  
  <p>my access_control;</p>
  
  <pre><code>access_control:
              - { path: ^/registration-form-submission$, role: IS_AUTHENTICATED_ANONYMOUSLY }
              - { path: ^/(login|register)$, role: IS_AUTHENTICATED_ANONYMOUSLY }
              - { path: ^/, role: ROLE_USER }
  </code></pre>