added search endpoint
search endpoint merge