add table filtering on the main page