added a footer to pages, minor improvements