added registration/invitation features
Merge remote-tracking branch 'origin/master'