template tweaks
more fixes to stats database for migration last connection set when client connects and disconnects update GeoIP datatbase