load database on start