adding search api to sidebar