fix user session reset