Take out rendering in index.js route