Updated User REST to support sorting