How to ensure the user has input the correct email?