Pagination in home page and URL changes in userprofile