app.py and index; sessions