Modified routes for ajax calls