Added search functionality using ajax