fixed a bunch of stuff, changed auth