Added preliminary code required to integrate the Flask-Login extension