Added hbs templates for each page on the navigation bar and converted profile and contact pages to Ajax calls