change from static email and password to dynamic