refactored page headers, footers, and static content. Also made site only use https static content