Minor modifications in order to manage the connection of players