fix welcome page for potential empty databases
[fix] welcome page