replace email and password fields with environmental variables