creating functionality for new email verification