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.
Not adding this will raise a variable referenced before assignment error.