Validate email address.
Fix validations on edit a record.
Simple handler for server side validations, closes #9.