added class to chat messages