connected to dynamodb