Implement group creation when room is created.