starting to implement logout