Added Primary key (ip_address and user_id)
Fix SQL sintax error
Added user_id key relation in the php
Merge pull request #1 from valarauco/master

Valar help