Updated demo questionnaire

Added code and DB logic for adding new rows to the tables