check for db at startup