adding user and group detection