removed old attendance view logic