added user functionality, game states, game history, player colors, and chat