-abstracted all flask-login interactions to be accessed through the 'accounts' module
- cleaned up views.py