Working on logout.