Added demo for user register invitation, per #1117, #1123