improved auth, util; added fs for thoughtsense