adding template
adding template with navbar
moving template from global