Working on returning contents with filters and pagination