added connectedUsers() to class and test to driver.php