refactoring multiplayer UI working