added POST function for form, first 2 fields