Migration: get user ids not users from userdao per unit