show flash error when email address is a duplicate