modified routes and updated views