remove invitation functionality, fixes #6