added delete group and edit group functions and added a search bar