take a snapshot of the user at the startup automatically, so that when he switches your computer on, the webcam automatically saves his snapshot which you can view later.
Read this post on technick.in