fixed one line error and other errors for signup and login forms

Would this read better with "var refs = this.refs" and updating the assignments? Also, how about:

var keys = ["password", "email", etc.];
keys.forEach(function(key) {
   data[key] = refs[key].getDomNode().value;
});