leave and createchannel implemented