Use flask-login to handle login requirements