Cleaned up pins controller to remove json api capability because unnecessary