session issues fixed