modify before action to include join_group