make some paginations to restful routes
update views related