extend application controller with class methods once the paging module is included