updated routes, controllers and views