Finally got the db working, finished data access for CreateSurvey