adding pagination to controller
adding pagination filter
adding pagination to view