enhanced samples to get userdId of logged-in user