validation and interaction update

client and server side validation.
Only a single message will go from the server to the client.
Fails on first error.