improved dblogin/delete; some ecs admin stuff