Check the login

After a long time, I figured out how to value so only one printout
would be received on the console end.