added /reset endpoint