Added flask-login lib to help with user auth

Added flask-login to our lib but unfortunately that required us to switch to an older more stable version of flask.