added basic CRUD functionality to backend