client registration references user id when available