added loging for twitter facebook