Refactored UserDatabase to ConfigDatabase.