job orders validation moved to model, pagination helper begun