chat layer for ui