Implemented Delete in rest