fixed Cognito doc bugs