Rename register.js to credentials.js