Changed the search controller to be a restful controller.