added field validation and user name to pins