add search function on WebApi