Fixed so you can search for images without being logged in