enable user to undo an attendance, and destory the record from the database, fixes #3