update get_results to support results?type
validate job and user ID for REST handlers
router update