How can i delete the session stored by twitch after log in by my twitch api script? or log out button?

Thats correct. Then the user can choose if they wish to logout of Twitch and into a new Twitch account or not.