move /projects to its own route function in routes/index.js