Fixed things to have auth work