added pin code logic, and tidied kids surveys