Fixed build error
Changed the GetLastVisited func to use the new session system