storing elected leader to etcd