Store the IP address that the user used for each visit
Set the user's IP address when creating the visit
Check that the user's IP address did not change when retrieving the user's session from the DB
Upon log-out let's always redirect to the front page