Better IP support.

Breaking change on the SQL tables.

Now tracks user IPs.