Create xy-auth.js