finish invite and queue functionality