Registration field validation on the server side