changes in routes and controller