getUser and getGroup working