Added Twig and Doctrine injection into the controller