Added functioning pagination to the submission list. Still needs work.