Fixed add visit problem and roughly add current visit page