add server form validation