Installed and configured pagination - fixed errors