added footers to all the pages except final page