create db connection in dog sections