router isn't working. error: route is not defined in server.js