setting up pages