add timout for logout