Add localhost entry