implemented twig for all except mail sending (will follow)