do auto logout also in offline mode