Add model validations for attributes and uniqueness for email and
username.