hooked up API for add, delete, get