rm login patch