adding ResetPIN function