dashboard add auth.js