Changed logger to winston