Move login time check to demo login method