modified example_EncChat to use Principal._id instead of .id