small crud hotfixes. added truncatewords. added pagination for main. added logs. small fixes