add the user manager in mngr and unittest