I've never tried to log out before it hits, but do it that way if you like. I have you log out after clearint the file because consulting the file while you are logged in after clearing it out shows nobody logged in. That file is what who and similar commands look at to see who is currently logged in.