changed logic for displaying player names in lobby