added POST and GET controllers for jobs