add groups property to user struct