making nav page work