enable to login when resume