refactor admin authentication on users & stats wm resources.