Adding pages and checks for menu items