connect to visit records