Updated to allow "yes" instead of true for registation complete for json ease