Issue 330

Fixes #330 and adds the invitation pool feature.