refine basepage creation - test for pre-existing page