Remove history when logout.