Search controller now being used for api