adding the debug code as the page is not showing the posts and delete action