added pagination to the job posts page