Added authentication to pins