basically done with ajax in app.py