added one line to chat messages controller