init the pages