when we create a work id list, also create a map that we store in the se...

when we create a work id list, also create a map that we store in the session