added databaseConfig global declaration