Implemented leaving chats and groups