Update all controllers to use segment query parameter