wired up account detail to pull data from tables