Added code to obtain all relevant account data.