Chat DAO and bubble message code