add delete function for groupchats and users, prevent adding the same groupchat multiple times