now deletes friends locally after adding and updates the database appropriately