added encoding declaration to utf-8 in app.py