add pages and menu