Finished XML Functions for Login Data