force flush (should be unnecessary)
return on NULL username
add more logging
add more logging
	for #16