export user and userid to common/xml