added session serializer