Twitter login/logout based on Tim's video