def create_login_manager(self, app) -> LoginManager:
        """
            Override to implement your custom login manager instance

            :param app: Flask app
        """
        lm = LoginManager(app)
        lm.login_view = "login"
        lm.user_loader(self.load_user)
        return lm
Override to implement your custom login manager instance

            :param app: Flask app