'use strict';
var
  express = require('express'),
  router = express.Router();

router.use(require('../middlewares/auth'));

// GET /users
router.get('/', function (req, res, next) {
  res.json(["users"]);
  return next();
});

// GET /users/:id
router.get('/:id', function (req, res, next) {
  res.json({id: req.params.id, name: "John Doe"});
  return next();
})

module.exports = router;

@@ -169,32 +169,35 @@
 , res, next) %7B%0A 
+ //
  res.json(%5B%22user
@@ -202,16 +202,237 @@
 ers%22%5D);%0A
+  res.json(%0A    %7B%0A      %22code%22: 200,%0A      %22user%22:%5B%0A        %7B%22id%22:1,%22name%22:%22owner1%22,%22image_url%22:null%7D,%0A        %7B%22id%22:2,%22name%22:%22owner2%22,%22image_url%22:null%7D,%0A        %7B%22id%22:3,%22name%22:%22owner3%22,%22image_url%22:null%7D,%0A      %5D%0A    %7D);%0A
   return
@@ -521,17 +521,48 @@
 es.json(
-%7B
+%0A    %7B%0A      %22code%22: 200,%0A      
 id: req.
@@ -588,16 +588,749 @@
 ohn Doe%22
+, %22image_url%22:null%0A    %7D);%0A  return next();%0A%7D);%0A%0A%0Arouter.get('/:id/flowers', function (req, res, next) %7B%0A  res.json(%0A    %7B%0A      %22code%22: 200,%0A      %22flowers%22:%5B%0A        %7B%22name%22: %22flower1%22, %22count%22: 3%7D,%0A        %7B%22name%22: %22flower2%22, %22count%22: 4%7D,%0A        %7B%22name%22: %22flower3%22, %22count%22: 5%7D,%0A      %5D,%0A      %22sender%22:%5B%0A        %7B%22id%22: 1, %22name%22: %22user1%22, %22image_url%22: null,%22flower_name%22: %22flower1%22, %22message%22: %22message1%22%7D,%0A        %7B%22id%22: 2, %22name%22: %22user2%22, %22image_url%22: null,%22flower_name%22: %22flower2%22, %22message%22: %22message2%22%7D,%0A        %7B%22id%22: 3, %22name%22: %22user3%22, %22image_url%22: null,%22flower_name%22: %22flower3%22, %22message%22: %22message3%22%7D,%0A        %7B%22id%22: 4, %22name%22: %22user4%22, %22image_url%22: null,%22flower_name%22: %22flower1%22, %22message%22: %22message4%22%7D,%0A      %5D%0A    
 %7D);%0A  re
@@ -1344,16 +1344,17 @@
 xt();%0A%7D)
+;
 %0A%0Amodule

Return dummy data for users