Attendance control system on the basis of wireless sensor network