Add server side form validation