created pageinit for each page