Modify attendance controller