added partition for logging table, some log inserts, and improved pagination scroll