email confirmation now fully functional