integrate pages to nav bar