what was that doing in auth.js