Fixed absurd typo in app.py and fixed up the templates