Adding dependency on flask-login, and using that instead of manually passing the user in