added polling and alert for new visit