Added automatic localhost IP to DB