updated rest server routes to handle /users/:id and updated package dependencies