A script to detect if you are logged in. It works by checking if the "username" block is returning empty. If that happens, there is a sign that the user is logged out.