fixed two export.mains in the user.js