add chat function in game page