added /jobs resource that controls job state