Database handling using Flask-SQLAlchemy with a simple user model