Update flask_app.py

db actions:
+ registration
+ load info
+ create new token