added logging, as well as downloading images from posts and users