logout and memo store and view each id