In Flask, I would like to understand how to create a function that behaves similar to current_user in the sense that it is available everywhere (controllers and
current_user