hooked up DB and server