add getById and deleteById