Modify routes and loading page.