only display UI when DB is ready