Add groups to user state