added server side validation

Confirm all fields are filled server side