improve logging in webservice
add logging in the twitter bot, cosmetic changes.