I got to make a program that checks if the user is loggin on the network.
How do you do that?

if user is loggin in the true
else false.

If you know can you also make sample code for me to learn off of?

-Scave