Symfony2 practice with a simple login system and doctrine twig with paginaton