Pagination now works, need to get around to enabling sorting data