public User(string username, string password, string emailAddress)
{
// Validate email address
// ReSharper disable ObjectCreationAsStatement
new MailAddress(emailAddress);
// ReSharper restore ObjectCreationAsStatement
this.username = username;
this.password = password;
this.EmailAddress = emailAddress;
this.isEmailAddressValidated = false;
}