added player management and multi player using to the gui