Added headers to xml files.
Improved logs and added checks when account is created.