user: user's resource id is user's id, not null.