Pins and authentication fixed