fix missing user name bug in index page