Validate presence, uniqueness and syntax of user email addresses.
Improve error message for malformed email addresses.
Support for callbacks on login, logout and signup.