user login patch