add tweet/session control function.