Use scope_ids.user_id instead of runtime.user_id