Add implicit grant type and update DynamoDB example

fixed from implicitgranttype branch.