added functionality to groups and list groups, delete function