Updating the controller/service to match the new design of the DAO