implementing confirm email functionality
implement resend email functionality