In addition, if you still want all users to see the list of a users items, you don't want the unpublished item to appear to anyone but the author. Add a clause to the setting of the variable for the query that also tests if the current user is the author..!