need to serialize the session passed into get