log username in errors as well