create user according to env