small fix to email change confirmation
add logging