updated ajax calls, controllers, routes and urls