Symfony2 Tutorial - Login. loginAction(Request $request) { $session = $request->getSession(); // get the login error if there is one if 4. Routing für login_check und logout. Nun müsst ihr noch die Routings eintragen in der routing.yml Datei..