Begin incorporating Flask-Login.

* Lots of clean up of the views.