added helper function to get UsersInClass