restore login activity even if app was killed