add getAll method to services