added pages and navigate on pages