Added third page handling.

Added route for third page, and corrected db-write for chosen jobs.