Updated router to set _isVisited on models