modify app.py cookie