updated controllers, routes and views