Added basic user-group detection