restore delete task server-side functionality