added function to add job from admin page
small change