adding pages and side bar