Adding pagination to logs webpage