adds default of 0 to intensity on landing page
Adds the caching back to the index and detail views'