#29 updating data controller to latest rest()