change get method to post method in the form