added pin dropdowns and js form validation to registration