db connect...finally!