var express = require('express');

var router = express.Router();


router.get('/', function(request, response) {
  request.db.get("users").find({}, function(error, document) {
    if (error) console.log(error);
    response.send(document);
  });
});


module.exports = router;

@@ -246,16 +246,271 @@
 ;%0A%7D);%0A%0A%0A
+router.get('/:userId', function(request, response) %7B%0A  var userId = Number(request.params.userId);%0A%0A  request.db.get(%22users%22).find(%7B'userId': userId%7D, function(error, document) %7B%0A    if (error) console.log(error);%0A    response.send(document);%0A  %7D);%0A%7D);%0A%0A%0A
 module.e

update users router: implement retrieve functionality