1. Begin integration of flask-login.
Remarks: See views.py for pending issues.