need phploc to log into xml as well