add pager and fix the user profile problem in index.html