Fixed bug: missing check for enabled user/domain