Update the way sessions are created.
Update internal dependencies
USe custom serializer.