fix /users/:user_id and /posts routes