added register and generatePasswordResetToken callback