implemented sending of PIN