Fixing issue with images not displaying on chrome when logged in