Added user authorization to pins