changed form,setup ajax get request, working on ajax post