QRCode generation and scanning then saving time and date (enter/exit)