changed all pages to templates
template nav bar