save public key when creating new contact