connection to DB works in createAccount as well now working on XML parsing