Changed templating to twig and created login.