move demo check for registration