search is now working with ajax