An attendance system with gamification