refactor logout