getUsers(): $query was not defined