fixing bug where sessions directory doesn't exist on initial run