Added authorization to JobsController
Added capability of cancelling jobs.