Typos

~Fixed indent typos.
~Fixed 'response' Variable referenced before assignment error.
~Changed visits cookie value to '1' instead of '0' , since visiting a site counts for 1 visit.
The previous indent prevents changes to the visits counter and the reset of  last_visit date if a day passes from last_visit.