record IP address and don't record twice for one session