modified history add top3 and full login logout