finish server, form validation