Add categories search to controller.