link chats to classes