added pry and fixed the routing issue with taking a survey