added credentials cache