Put the phone IP into the database every time user logs in successfully.