How to ensure the email submitted is unique and has not been submitted previously.