Expose user in index.js