So i want to make a auth system using xenforo's api but i dont know how and everyway i've tried just breaks.