adding twig dependency for templating and a few fixes to the Web App