user/uid can be undefined for all types