updated views, routes and controller