add summations and role selection for user index