updated friend deletion to allow the deletion of multiple friends at once