modified routes and views/layout