Adding db clear endpoint II