added auth.js service