accesing data from dynamodb