render header footer