Added home view as root, switched pages route to /pages/:id