NodeJS -> routes CRUD with functions