added before filter to jobs controller;