getAllUsers() function added