Change the ip-logging to happen at the first creation of a user object, i.e. once for each unique user.