Added the redirect back to the previous page after creating a job