added groupid to the user's profile