Added test so emails save as lowercase. Fixed VALID_EMAIL_REGEX to reject emails containing '..'.