removes db on connect