add function that disassociates a machine from a keypair