Added the leave queue functionality
Added the leave queue functionality