adding search functionality to the resources main URL