added jinja2 to the main.py file