add view model
add unit test can_send_pagination_view_model
add paging on a view