added facility for logging in for attendance