images not rendered after log out fix