corrected user login io