Add implicit grant type and update DynamoDB example

This adds implicit grant type and extra code for dynamodb's model.