Placing the /users/register route below /users/:id was causing the register route to be parsed as an id