db connection setup
almost connecteed to db