fix delete user in restapi v1.0