add DenimSearch service object to refactor pages_controller