Add user database retrieval.