Tweak base template, add a before_request to expose current user