make request available to all templates