Adding the route to delete a task successfully and rewriting the Id setter