Ajax Search backend working