Added API for Search functionality