basic search functionality, ajax requests