fixed clients to recieve player joined broadcast.
fixed undefined value for player id
player joined is now using player id instead of counter.