add getAll method and Delete