added twitter logging