setup flask-login and flask-principal