Added register database in app.py