Adding Authentication for Pins