changed method of form to post