made it so users can now leave groups and deletes data from DB