several fixes. 

the basic usage (invitation -> register) working in local.

no UI yet