Redid auth class, tips are welcome this isnt nearly finished!