The problem is consider a situation the employee forgot to signout today
well is it possible if the employee is sign in after 2 AM (let say 7 AM) and the prog check what is the last status for the employee..if the last status is sign in..then ur prog must set it to sign out (and set the sign out time to 7 AM since u can't record it)..so the employee can sign in again (at 7 AM)

but..dglienna seem have other option..

for the human error..u can't fix it with prog..it's the human's nature