add the last visted page to session