init user at beginning instead of in each script