added to user create survey function and routes