added function to list connected players