updated /users/:user_id/posts endpoint