routes now go in the index.js file under the folder routes
fixed it