changed the routes and application page