Add IP verification to login functions