adds rack::cache and creates reference for devise secret