added pin user associations and fixed a validation error