changed some config params
add paging logic to product
fixed page logic bug