api: fix listUsers to bring teams in the list