Personal idea:
You identified users only by IP ,what about the following ...
1)A user login from diffent ip with the same username?
2)many users in a lan behind a firewall,they use the same outer IP?
There are always other unknowable situations.