refactored ManagedUser