change DBConn to use mongoose,client connect,disconnect handling