Changed support for user name and group name with checks.