implementing createPasswordResetToken