Load database after startup