implemented user confirmation on login