adding search template
submit search form by ajax