mod env to envs, auth to users, key to keys;