server knows when viewer has logged in and out