Adds support for storing IP address on login