fixed a bug in the duplicate account logic and another in the way the table view is being populated