set up pages base