Added route handlers to index.js and user.js
fixed confict