Further abstracting out page url generation