Enhancement: Added example to assign optional usergroupid field.

Added example to assign optional usergroupid field if client wants to register user into any specific usergroup.