updated cognito-auth to make values more semantic