Prevent 404 on image routes on page load
better testing of session helper
Helpful commit message