logger functionality with winston implemented