discovery: added enabled flag
chat: using shared_from_this and enabled flag