app.py updates for recoving password and date entry