edit.html search box made functional