added a pretty footer and fixed the page templates