Declare empty DATABASES dict before initializing