getting header and footer working