added logging to registration confirmation