added semicolon ; to end of functions at routes/index.js