replace login with env variables