edit code for displaying pagenator in MyAccount page