Added Pagination

added a default scope too.