Corrected GMT to Local time

Was comparing the file modified time as a gmt time against now() which is localtime.
Merge pull request #20 from dannyellis/checklogin_fix

Corrected GMT to Local time