delete some redundant code in user_group