Remove user.js, renamed index.js to api.js