Fix error rendering on leave-group.html
Create delete-list function