added getUsers() method to server