Registration
Added form validation on the server.