added pages and navigation