CLC-2128 Pseudo-code sketch of can-login check