Improved way to pass the logged user through the app.