#24 group invitation refactored