Updated routes,controllers and views