Implemented attendance saving