issue #18 hall connection to db