Fixed errors with new routes
Added create view and fixed error in view function call
Created survey view and JSONified template variable