added authentication to socket.io player room
working copy
stable version
segments end date checked instead of start date