added security feature to make sure you have adequate permissions to delete a group