added database debug page