change function getAllUsers()