add pagination to logs page