fixed emailCredentials function name in form HTML