check if user is logged in before reboot

other wishlist/low priority stuff
I think the "0" as a parameter is not needed, this is set as the default parameter AFACS.