add user model and template + add user defined functions to Twig