consolidate validity check for users in group class