moved restoreUser onto Pool proto