Dynamodb2.0

migrating dynamodb model to 2.0
adding refresh_token related functions