added post method to form