Implement confirm email loop