Added debug printout of username and attributes.