Logging bug fix

Now logs last visitor date properly