implemented ChatController
fixed conflict in ChatController