main template
main template with navbar