updated code to separate buddypress modules members, activity, groups etc