write WorkSearchController.