Fix collateral caused by split of UserManager in api and implementation