finish group and ralationship of user_group.