Update Pins controller for authentication