update pagination with application level paginate value, add pagination functionality to homepage