ChatController and ChatRepository