added useretc

rewrote registration, now using useretc, still need to fix calls in
other files