fixing autorization in job controller