adding headers to template context