updated code to properly delete groups and users to redo testing