centralized retrieval of user credentials