Get rid of fs from auth.js