Add chat listener
Working version