MDL-42495 lesson Prevent coding error for invalid user