API for clockin and clockout