modify cache and session helpers