move user to g.user