added some pagination on view log page