refactor of verification_email