INteraction between frontend and dynamoDB/lambda seems to work