change query for getUsers