Added basic Caching for authentication