making basic form to send ajax request