only set user if we have one