fix index.index throw exception when g.user not none