Proximity card based attendance system