a HR plugin for newauth