added validation that email addresses saved are converted to lowercase first