added pages and changed routes