Add validation of emails on User creation. Fixes #2.