rename MainController to ChatController