Fixed Session constructor usage