bug logger now records username if logged in