Updated server code to serve add/delete operations.