render header footer in each page