use parsed query-string parameters for reconstructing URLs
render header as a separate template