Issue #22:  Kludge around it
didnt check if username set
 added some more verbose error messgaes