Fixed Role in sample22, added server choose to samples19 20 21 23, updated docs