Neha,D3| #1518 | Moved visit history logic to new controller