add chat and message interfaces