adding credential fetching: