adding group invite function