Updated to use logged in user to query job output