added controller and twig rendering