add user tree api