change all g.user to current_user