add template page and resource
add nav bar template content and nav bar fn
modifty to display navbar using js tmpl