Completed add page items to pages. also fixed self rich join assosiation to pages.