close to fixing sessions error.