update to put username in xml