Fixed session saving to prevent unnecessary new sessions