add page navigation...fix sql limit offset