fixing session being overwritten when committing to git