- when removing an identity check whether it has `hasServerIdentity`=true and if so throw an error that this identity cannot be removed. - use the same restriction for the stored identity-keys so they can't be removed by accident - add database test
hasServerIdentity=true and if so throw an error that this identity cannot be removed.