adding chatmessage frontend