Save user-manager file properly