fix bug when gonna login but can see admin console in a flash