added pin and pinFailCount to keychain