Adding database user caching and retrieval.