Solve minor errors with SQL and settings. 

PersonDatabase can now handle getPersonUser calls with the new database.